package com.example.chatgptapplication.relation;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.chatgptapplication.common.bean.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_tag")
public class UserTag extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;


    @TableField("user_id")
    private Integer userId;

    @TableField("tag_id")
    private Integer tagId;

}
